package cn.wygandwdn.learn.service.impl;

import cn.wygandwdn.learn.mapper.TechnologyMapper;
import cn.wygandwdn.learn.service.TechnologyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @description:
 * @author: WYG
 * @time: 2021/5/6 19:40
 */
@Service
public class TechnologyServiceImpl implements TechnologyService {
    private TechnologyMapper technologyMapper;

    @Autowired
    public void setTechnologyMapper(TechnologyMapper technologyMapper) {
        this.technologyMapper = technologyMapper;
    }

    @Override
    public String getTechnologyInfo(String key) {
        return technologyMapper.getInfo(key);
    }
}
